// 用户列表
export const useLoadAdminUserListApi = (body) => {
    return useHttpPost(`/v1/adminuser/list`,{body})
}

// 赠送VIP
export const useSendvipAdminUserApi = (body) => {
    return useHttpPost(`/v1/adminuser/sendvip`,{body})
}

// 保存用户
export const useSaveUpdateAdminUserApi = (body) => {
    return useHttpPost(`/v1/adminuser/saveupdate`,{body})
}

// 修改密码
export const useUpdatePwdAdminUserApi = (body) => {
    return useHttpPost(`/v1/adminuser/update/password`,{body})
}

// 修改手机
export const useUpdateTelAdminUserApi = (body) => {
    return useHttpPost(`/v1/adminuser/update/telephone`,{body})
}

// 明细
export const useGetAdminUserApi = (id) => {
    return useHttpPost(`/v1/adminuser/get/${id}`,{})
}

// 修改
export const useUpdateAdminUserApi = (body) => {
    return useHttpPost(`/v1/adminuser/update/status`,{body})
}


// 修改
export const useRegAdminUserApi = (body) => {
    return useHttpPost(`/v1/adminuser/reg`,{body})
}


// 查看兑换码
export const useLoadAdminUserCodeApi = (body) => {
    return useHttpPost(`/v1/adminuser/code/list`,{body})
}

// 保存修改兑换码
export const useSaveUpdateAdminUserCodeApi = (body) => {
    return useHttpPost(`/v1/adminuser/code/saveupdate`,{body})
}

// 保存修改兑换码
export const useUpdateAdminUserCodeApi = (body) => {
    return useHttpPost(`/v1/adminuser/code/update/status`,{body})
}


// 删除
export const useDelAdminUserApi = (id) => {
    return useHttpPost(`/v1/adminuser/template/del/${id}`,{})
}

// 删除
export const useDelAdminUserCodeApi = (id) => {
    return useHttpPost(`/v1/adminuser/template/code/del/${id}`,{})
}